package com.cy.pet.item.service;

import com.cy.pet.common.mapper.ItemDescMapper;
import com.cy.pet.common.mapper.ItemMapper;
import com.cy.pet.common.pojo.Item;
import com.cy.pet.common.service.ItemDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: LiuXingYu
 * @date: 2021/10/8 10:16
 */
@Service
public class ItemDescServiceImpl implements ItemDescService {
    @Autowired
    private ItemMapper itemMapper;
    @Autowired
    private ItemDescMapper itemDescMapper;
    @Override
    public Item getItemDescById(Integer id) {
        Item item = itemMapper.selectById(id);
        return item;
    }
}
